package com.winchain.chainbill.repayment.controller;

import com.shell.bee.base.annotation.Logging;
import com.shell.bee.entity.mvc.RetMsg;
import com.shell.bee.mvc.controller.BaseController;
import com.winchain.chainbill.repayment.service.BillDctRpmtService;
import com.winchain.chainbill.repayment.vo.CbDctRpmtVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class BillDctRpmtController
  extends BaseController
{
  @Autowired
  private BillDctRpmtService billDctRpmtService;
  
  @RequestMapping
  @Logging(module="������������", methods="��������")
  public RetMsg saveDctRpmt(CbDctRpmtVo dctRpmtVo)
  {
    this.billDctRpmtService.saveDctRpmt(dctRpmtVo);
    return new RetMsg("success", true, "��������������");
  }
}
